define([
  'collections/Subscribers',
  'views/TabView',
  'views/subscribers/SubscribersList',
  'hbs!template/admin/user-tab'
], function(Subscribers, TabView, SubscribersList, template){
  var UsersTab = TabView.extend({
    initialize: function() {
      console.log("UsersTab");
      this.template = template;
    },

    tabs: function() {
      var self = this;
      return {
        "internal":  new SubscribersList({collection: this.collection.internals()})
      };
    }
  });

  return UsersTab;
});